<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%@include file="../../common/common.jspf"%>
<script type="text/javascript" src="${ctx}/js/goods/goodsBrand/edit.js"></script>

<style type="text/css">
.col-sm-3 {
	width: 25%;
	float: left;
}

.col-sm-4 {
	width: 75%;
	float: right;
}

</style>
</head>
<body>
	<div class="l_err" style="width: 100%; margin-top: 2px;"></div>
	<form id="form" name="form" class="form-horizontal" method="post" action="${ctx}/goods/goodsBrand/saveGoodsBrand">
		<input type="hidden" value="${goodsBrand.id}" name="id" id="id">
		<section class="panel panel-default">
			<div class="panel-body">
				<div class="form-group">
					<label class="col-sm-3 control-label">品牌名称</label>
					<div class="col-sm-4">
						<input type="text" class="form-control" placeholder="请输入品牌名称" required
							value="${goodsBrand.name}" name="name" id="name" maxlength="20">
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">品牌编码</label>
					<div class="col-sm-4">
						<input type="text" class="form-control" placeholder="请输入品牌编码" required
							value="${goodsBrand.code}" name="code" id="code" maxlength="8">
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">排序位置</label>
					<div class="col-sm-4">
						<input type="text" class="form-control" placeholder="请输入商品关键词"
							value="${goodsBrand.position}" name="position" id="position" maxlength="3">
					</div>
				</div>
			</div>
			<footer class="panel-footer text-right bg-light lter">
				<button type="submit" class="btn btn-success btn-s-xs">保存</button>
			</footer>
		</section>
		</div>
	</form>
	<script type="text/javascript">
		onloadurl();
	</script>
</body>
</html>